<?php
/**
* 
*/
namespace Common\Common;

class WebAction
{
	public static function getLang()
	{
		$lang = cookie('oa_lang');
        if(!$lang){ $lang = 'en-us';}
        return $lang;
	}

	public static function getLangField()
	{
		$lang = cookie('oa_lang');
        if(!$lang){ $lang = 'en-us';}
		return str_replace('-','',$lang);
	}
}